//
//  HistoryEventTopView.m
//  Runone
//
//  Created by runone02 on 16/8/31.
//  Copyright © 2016年 runone. All rights reserved.
//

#import "HistoryEventTopView.h"

@implementation HistoryEventTopView


- (void)awakeFromNib {
    [super awakeFromNib];
}

+ (instancetype)historyTopView
{
    return [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil] lastObject];
}

- (void)setData:(EventDeatilModel *)model andCEModel:(CurrentEvent *)CEModel{
    self.EventDescriptionLabel.text = model.IncidentDetail;
    //    self.EventTypeLabel.text = [NSString stringWithFormat:@"%ld",(long)CEModel.IncidentType];
    self.StartTimeLabel.text = model.OccurTime;
    self.EventTypeLabel.text = model.EndTime;
}

@end
